﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FS0001.aspx.cs" Inherits="web_CategoryMS.View.FS0001" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div id="divFM" style="z-index: 1; left: 1px; overflow-x:hidden; overflow-y:scroll; position: relative; border: 1px solid #808080; top: 0px; width: 100%">
            <table style="width:100%">
                <tr style="width:100%">
                    <!--左侧图片或说明-->
                    <td style="width:50%">
                        <div id="divLeft">
                            <span>此处添加说明文本或图片</span>
                        </div>
                    </td>
                    <!--右侧需求列表-->

                    <td style="width:50%">
                        <div id="divRight" style="height:500px;width:100%;overflow:scroll;background:#EEEEEE;">
                            <asp:GridView runat="server" ID="dgv" Width="100%" AutoGenerateColumns="False" OnRowDataBound="dgv_RowDataBound">
                                <Columns>
                                    <asp:BoundField DataField="iAutoID">
                                        <HeaderStyle CssClass="hidden"/>
                                        <ItemStyle CssClass="hidden"/>
                                    </asp:BoundField>
                                    <asp:BoundField DataField="vcRequirementNo" HeaderText="需求编号">
                                        <ItemStyle Width="20%" />
                                    </asp:BoundField>
                                    <asp:ButtonField DataTextField="vcRequirementName" ItemStyle-ForeColor="Blue" HeaderText="需求名称"
                                        ItemStyle-Width="30%" ButtonType="Link" CommandName="lookImage" />
                                    <asp:BoundField DataField="vcRequirementDescription" HeaderText="需求说明">
                                        <ItemStyle Width="50%" />
                                    </asp:BoundField>
                                </Columns>
                                <HeaderStyle Height="40px" />
                                <RowStyle VerticalAlign="Top" />
                            </asp:GridView>
                        </div>
                    </td>
                </tr>
            </table>
            
        </div>
    </form>
    <script type="text/javascript" src="../../JavaScript/dialog.js"></script>
    <script type="text/javascript">
        document.getElementById('divFM').style.height = document.documentElement.clientHeight-20  + "px";
        document.getElementById('divLeft').style.height = document.documentElement.clientHeight - 20 + "px";
        document.getElementById('divRight').style.height = document.documentElement.clientHeight - 20 + "px";
        /*document.getElementById('dgv').style.height = document.documentElement.clientHeight-20 + "px";*/
        function OpenImage(value) {
            openNew('../G99/FS9901.aspx?iAutoID=' + value, '_blank', 'dialogWidth=500px;dialogHeight=500px;help=no;status=no;location=no;');
        }
    </script>
    <style type="text/css">
    .hidden {
        display: none;
    }
    </style>
</body>
</html>
